package org.example.practice;

import lombok.extern.slf4j.Slf4j;
import org.example.GrowingApplication;
import org.example.practice.about_properties.ReadProperties;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @Author: WangShengJie
 * @Date: 2025/4/18
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = GrowingApplication.class)
@Slf4j
public class PropertiesPractice {

    @Autowired
    private ReadProperties readProperties;

    @Test
    public void readPropertiesTest() {
        String key = "";
        String vale = readProperties.readProperties(key);
        System.out.println(vale);
    }

}
